﻿using FreeSql.DatabaseModel;using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace DataBase.Main
{

	/// <summary>
	/// 维护信息图片表
	/// </summary>
	[JsonObject(MemberSerialization.OptIn), Table(Name = "t_MaintainPicture", DisableSyncStructure = true)]
	public partial class TMaintainPicture {

		/// <summary>
		/// 主键唯一标识Id
		/// </summary>
		[JsonProperty, Column(IsPrimary = true, IsIdentity = true)]
		public long Id { get; set; }

		/// <summary>
		/// 数据录入时间
		/// </summary>
		[JsonProperty]
		public DateTime? CreateTime { get; set; }

		/// <summary>
		/// 文件名
		/// </summary>
		[JsonProperty, Column(Name = "fileName", StringLength = -2)]
		public string FileName { get; set; }

		/// <summary>
		/// 文件路径
		/// </summary>
		[JsonProperty, Column(Name = "filePath", StringLength = -2)]
		public string FilePath { get; set; }

		/// <summary>
		/// 维护Id
		/// </summary>
		[JsonProperty, Column(Name = "maintainId")]
		public long? MaintainId { get; set; }

		/// <summary>
		/// 服务器路径
		/// </summary>
		[JsonProperty, Column(Name = "serverPath", StringLength = -2)]
		public string ServerPath { get; set; }

		/// <summary>
		/// 文件后缀名
		/// </summary>
		[JsonProperty, Column(Name = "suffix", StringLength = 50)]
		public string Suffix { get; set; }

	}

}
